
package com.rmdc.simop.commons.model.dao;

import java.util.List;


public interface BaseDAO<Entity> {

	public Entity readByCodigo(String codigo);

	public Entity readById(Integer id);
	
	public List<Entity> findByCodigo (String codigo);
	
	public List<Entity> findByProperty (String valor, String nombrePropiedad);

	public void update(Entity object);

	public void create(Entity object);

	public void delete(Entity object);

	public void deleteById(Integer id);

	public void deleteByCodigo(String codigo);

	public List<Entity> findAll();



}

